home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / mslang / ssetup / setup.h_ / SETUP.H
Encoding:
C/C++ Source or Header  |  1994-04-05  |  5.7 KB  |  178 lines

  1. //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2. //
  3. //        SETUP.H
  4. //        Main classes declarations for SETUP.CPP file.
  5. //
  6. //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  7. //
  8. //        You can use this sample at your own risk.
  9. //
  10. //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  11. //
  12. //        Use this file with SETUP.CPP and CSETUP.DLL.
  13. //        If you want to compile this file, you must use Visual C++ and MFC 2.0 library.
  14. //
  15. //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  16. #ifndef __AFXWIN_H__
  17.     #error include 'stdafx.h' before including this file for PCH
  18. #endif
  19.  
  20. #include "resource.h"        // main symbols
  21.  
  22.         //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  23.         // CSetupApp:
  24.         // See setup.cpp for the implementation of this class
  25.         //
  26.         
  27.         class CSetupApp : public CWinApp
  28.         {
  29.         public:
  30.             CSetupApp();
  31.             virtual BOOL InitInstance();
  32.             virtual int ExitInstance();
  33.             //{{AFX_MSG(CSetupApp)
  34.                 // NOTE - the ClassWizard will add and remove member functions here.
  35.                 //    DO NOT EDIT what you see in these blocks of generated code !
  36.             //}}AFX_MSG
  37.             DECLARE_MESSAGE_MAP()
  38.         };
  39.         
  40.         //{{AFX_VBX_REGISTER()
  41.         //}}AFX_VBX_REGISTER
  42.         
  43.         
  44.         
  45.         
  46.         
  47.         //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  48.         // CFirst dialog
  49.         
  50.         class CFirst : public CDialog
  51.         {
  52.         BOOL FirstCanClose;
  53.         public:
  54.             CFirst(CWnd* pParent = NULL);    // standard constructor
  55.             //{{AFX_DATA(CFirst)
  56.             enum { IDD = IDD_FIRST };
  57.                 // NOTE: the ClassWizard will add data members here
  58.             //}}AFX_DATA
  59.         protected:
  60.             HFONT hfontDlg;
  61.             LOGFONT lFont;
  62.             virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  63.             //{{AFX_MSG(CFirst)
  64.             virtual BOOL OnInitDialog();
  65.             afx_msg LRESULT OnFirstPrivate( WPARAM wParam, LPARAM lParam );
  66.             afx_msg void OnClose();
  67.             afx_msg void OnDestroy();
  68.             //}}AFX_MSG
  69.             DECLARE_MESSAGE_MAP()
  70.         };
  71.         
  72.         
  73.         
  74.         
  75.         
  76.         
  77.         //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  78.         // CMain dialog
  79.         
  80.         class CMain : public CDialog
  81.         {
  82.         public:
  83.             CMain(CWnd* pParent = NULL);    // standard constructor
  84.             //{{AFX_DATA(CMain)
  85.             enum { IDD = IDD_MAIN };
  86.                 // NOTE: the ClassWizard will add data members here
  87.             //}}AFX_DATA
  88.         protected:
  89.             virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  90.             //{{AFX_MSG(CMain)
  91.             virtual BOOL OnInitDialog();
  92.             afx_msg LRESULT OnFirstPrivate( WPARAM wParam, LPARAM lParam );
  93.             afx_msg LRESULT OnNewDisk( WPARAM wParam, LPARAM lParam );
  94.             afx_msg void OnPaint();
  95.             afx_msg void OnNcPaint();
  96.             //}}AFX_MSG
  97.             DECLARE_MESSAGE_MAP()
  98.         };
  99.         
  100.         
  101.         
  102.         //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  103.         // CChoice1 dialog
  104.         
  105.         class CChoice1 : public CDialog
  106.         {
  107.         public:
  108.             CChoice1(CWnd* pParent = NULL);    // standard constructor
  109.             //{{AFX_DATA(CChoice1)
  110.             enum { IDD = IDD_CHOICE1 };
  111.                 // NOTE: the ClassWizard will add data members here
  112.             //}}AFX_DATA
  113.         protected:
  114.             HFONT hfontDlg;
  115.             LOGFONT lFont;
  116.             
  117.             virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  118.             //{{AFX_MSG(CChoice1)
  119.             virtual BOOL OnInitDialog();
  120.             afx_msg void OnClickedRadioenglish();
  121.             afx_msg void OnClickedRadiofrench();
  122.             afx_msg void OnChangeEditsrcpath();
  123.             virtual void OnOK();
  124.             afx_msg void OnDestroy();
  125.             //}}AFX_MSG
  126.             DECLARE_MESSAGE_MAP()
  127.         };
  128.         
  129.         
  130.         
  131.         
  132.         
  133.         
  134.         
  135.         //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  136.         // CChoice2 dialog
  137.         
  138.         class CChoice2 : public CDialog
  139.         {
  140.         public:
  141.             CChoice2(CWnd* pParent = NULL);    // standard constructor
  142.             //{{AFX_DATA(CChoice2)
  143.             enum { IDD = IDD_CHOICE2 };
  144.                 // NOTE: the ClassWizard will add data members here
  145.             //}}AFX_DATA
  146.         protected:
  147.             HFONT hfontDlg;
  148.             LOGFONT lFont;
  149.             void HandleCheckBox( int iD );
  150.             
  151.             virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  152.             //{{AFX_MSG(CChoice2)
  153.             virtual BOOL OnInitDialog();
  154.             afx_msg void OnClickedChangepath();
  155.             virtual void OnOK();
  156.             afx_msg void OnClickedCheck1();
  157.             afx_msg void OnClickedCheck2();
  158.             afx_msg void OnClickedCheck3();
  159.             afx_msg void OnClickedCheck4();
  160.             afx_msg void OnClickedCheck5();
  161.             afx_msg void OnClickedCheck6();
  162.             afx_msg void OnClickedCheck7();
  163.             afx_msg void OnClickedCheck8();
  164.             afx_msg void OnClickedCheck9();
  165.             afx_msg void OnClickedCheck10();
  166.             afx_msg void OnClickedCheck11();
  167.             afx_msg void OnClickedCheck12();
  168.             afx_msg void OnClickedCheck13();
  169.             afx_msg void OnClickedCheck14();
  170.             afx_msg void OnClickedCheck15();
  171.             afx_msg void OnDestroy();
  172.             //}}AFX_MSG
  173.             DECLARE_MESSAGE_MAP()
  174.         };
  175.         
  176.         
  177.         
  178.